package com.ir.stat.spark.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ResourceDirStat implements Serializable {

    private String id;

    private String name;

    private Integer count;

    private Long records;

    private Long deltaRecords;

    private Long size;

    private List<ResourceDirStat> children = new ArrayList();

    private List<DatasetStat> datasets;

    private List<DatasourceStat> datasources;

    private List<FileStat> files;

    private Date statTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Long getRecords() {
        return records;
    }

    public void setRecords(Long records) {
        this.records = records;
    }

    public Long getDeltaRecords() {
        return deltaRecords;
    }

    public void setDeltaRecords(Long deltaRecords) {
        this.deltaRecords = deltaRecords;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public List<ResourceDirStat> getChildren() {
        return children;
    }

    public void setChildren(List<ResourceDirStat> children) {
        this.children = children;
    }

    public List<DatasetStat> getDatasets() {
        return datasets;
    }

    public void setDatasets(List<DatasetStat> datasets) {
        this.datasets = datasets;
    }

    public List<DatasourceStat> getDatasources() {
        return datasources;
    }

    public void setDatasources(List<DatasourceStat> datasources) {
        this.datasources = datasources;
    }

    public List<FileStat> getFiles() {
        return files;
    }

    public void setFiles(List<FileStat> files) {
        this.files = files;
    }

    public Date getStatTime() {
        return statTime;
    }

    public void setStatTime(Date statTime) {
        this.statTime = statTime;
    }
}
